﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Tong;

public partial class aspnet_testPargrameDir_site_ascx_Quality_contral : System.Web.UI.UserControl
{
    public string str = "";



    /// <summary>
    /// 用於顯示資料
    /// </summary>
    public Tong.TongUse TextData = new Tong.TongUse();

    /// <summary>
    /// 系统安装绝对路径
    /// </summary>
    public string Abs_Path = TongUse.SysPath;
    /// <summary>
    /// 用户存放数据的临时表
    /// </summary>
    DataTable MyDt = new DataTable();


    /// <summary>
    /// 站点通用方法类
    /// </summary>
    public Tong.ThisSiteUse.SiteTong TextThisSite = new Tong.ThisSiteUse.SiteTong();

    /// <summary>
    /// 當前顯示的id
    /// </summary>
    string id = "1";
    //得到传入的栏目ID
    public String CloumnID = "1";

    /// <summary>
    /// 欄目目錄
    /// </summary>
    public string CX_Column_Directory = "";

    /// <summary>
    /// 顯示當前欄目的簡介
    /// </summary>
    public string str1 = "";
    /// <summary>
    /// 資料表
    /// </summary>
    DataTable NewDt = new DataTable();


    public string tab = "Sys_GuanXuWoMen75313";

    protected void Page_Load(object sender, EventArgs e)
    {

        BindData();
    }

    /// <summary>
    ///邦定當前頁面的資料
    /// </summary>
    void BindData()
    {

        //關於我們子欄目管理
        tab = TextThisSite.SigeGetColumnTable("9");
        RepeaterQuality_contral.DataSource = TextData.SqlataSet("select * from [" + tab + "]");
        RepeaterQuality_contral.DataBind();

    }
}